package edu.uaskl.jqf.algorithm;

import java.util.Arrays;
import java.util.List;

import edu.uaskl.jqf.algorithm.interfaces.Algorithm;
import edu.uaskl.jqf.model.gates.interfaces.Gate;

public class CustomAlgorithm implements Algorithm {
    private final List<Gate> gates;

    public CustomAlgorithm(final Gate... gates) {
        this.gates = Arrays.asList(gates);
    }

    public CustomAlgorithm(final List<Gate> gates) {
        this.gates = gates;
    }

    @Override
    public List<Gate> getGates() {
        return gates;
    }

}
